import request from '@/utils/request'
// 家长评价List
export function parentListApi(query) {
  return request({
    url: '/jsjx/parentEvaluation/list',
    method: 'get',
    params: query
  })
};
// 家长评价ById
export function parentByIdApi(id) {
  return request({
    url: `/jsjx/parentEvaluation/${id}`,
    method: 'get',
  })
};
// 家长评价Add
export function parentAddApi(data) {
  return request({
    url: '/jsjx/parentEvaluation',
    method: 'post',
    data
  })
};
// 家长评价Edit
export function parentEditApi(data) {
  return request({
    url: '/jsjx/parentEvaluation',
    method: 'put',
    data
  })
};
// 家长评价Del
export function parentDelApi(id) {
  return request({
    url: `/jsjx/parentEvaluation/${id}`,
    method: 'delete',
  })
};